﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class AiLuoKe : Hero
    {
        public void Skill() 
        {
            Console.WriteLine("我的技能有");
            Console.WriteLine("碎石打击");
            Console.WriteLine("烈焰锚钩");
            Console.WriteLine("战斗咆哮");
            Console.WriteLine();
        }
        public void Write()
        {
            this.HeroName = "埃洛克";
            this.HeroInfo = "来自末日边境的勇士";
            this.UserName = "帅哥";
            this.Attack = 85;
            this.Defense = 50;
            this.Speed = 35;
            Console.WriteLine("我的名字是{0},我是{1}，我的昵称叫{2}，攻击为{3},防御为{4}，速度为{5}",this.HeroName, this.HeroInfo, this.UserName, this.Attack, this.Defense, this.Speed);
            Skill();
        }
    }
}
